package io.gitee.chearnee.fw.openapi.constant.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import io.gitee.chearnee.fw.common.model.IBaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author cn
 * @version 1.0
 * @description
 * @date 2021/9/23 16:22
 */
@Getter
@AllArgsConstructor
public enum CommonStatusEnum implements IBaseEnum<Integer> {
  /**
   * 初始
   */
  INIT(0, "初始化"),
  /**
   * 正常
   */
  ENABLE(1, "正常"),
  /**
   * 禁用
   */
  DISABLE(2, "禁用");
  @EnumValue
  private final Integer value;
  private final String desc;
}
